Skip to content

Merge dev/1.3.1: Tests rewritten around the product - #1858

Merged
vmillet-dev merged 95 commits into
mainfrom
dev/1.3.1
Dec 4, 2026
Merged

vmillet-dev merged 95 commits into
mainfrom
dev/1.3.1

Conversation

@vmillet-dev

@vmillet-dev vmillet-dev commented Dec 3, 2026 •

Copy link
Copy Markdown
Owner

Brings dev/1.3.1 into main: the milestone « v1.3.1 — Tests rewritten around the product ».

⚠️ Merge it with a merge commit, never a squash (docs/releasing.md): the release notes read the pull requests it carries. No version bump here; it follows on main.

State of the branch — no conflict with main, which is one commit ahead (chore(release): v1.3.0). On the branch as it stands: 4,145 tests pass on Windows (2,959 before), 6 ignored, clippy and fmt clean. Coverage measured at the last lot: 97.32 %, from 94.11 %. Migrations untouched; the vault's production code changes in layout only (rustfmt); key derivation and file formats are the same.

Fixes (33)

Code and repository

Unit tests rewritten (57 pull requests)

The lots

Closes #1714

🤖 Generated with Claude Code

vmillet-dev and others added 30 commits December 2, 2026 00:34
Fields, Markdown outline and slides, checklist, kinds, priorities, conversions and
drawings; the dead FIELD_NAME_PATTERN goes with the test that held it to the rule.
)

* Rewrite the tests of the note model around its rules

Drafts, patches and when they date an edit, footers and expiry, previews, tags and the
exported shape.

* Name the patch cases' check type for Clippy
Criteria and rails, what a search answers and quotes, the orders, the sections and
their create card, facets and what a card draws.
The estimate before decoding counted base64 padding as bytes.
The confidence floor, ties, shebangs, the 64 KiB read and when a draft or a patch is
read at all; the languages that write alike kept as one table beside the corpus.
* Rewrite the tests of Calcul sheets through what a line gives

The grammar held through evaluate, rule by rule; the lexer's and maths' own tests go,
the word and unit tables keep the rules on their spellings.

* Reach the Calcul branches the old tests reached

* Hold an unfinished proportion as unreadable
An inch is exactly 96 pixels at the default setting, and back.
* Rewrite the tests of the notes index around its rules

Slices newest first, a list while it fills, what a declared write re-reads, what an
undeclared one leaves different, selection, facets and search.

* Hold an undeclared decoration as told by name
* Rewrite the tests of writing a note through the store

Creating, editing, what is sealed and what degrades, a todo list's items and a
snippet's field values.

* Rewrite the side tables' tests and keep the file-level sealing check
#1736)

Duplicating with attachments and pictures, a drawing's pictures, the first launch's
samples, an export and an import.
Corpus-wide renames, merges and drops with the count they announce; moves, tags, pins
and priorities answering what they changed, undone exactly, dating nothing. The doc and
the comment that still said tagging dates a note follow #1534.
* Rewrite the tests of a note's history and of the trash

What an edit keeps and when, the cap, the preview's diff, going back; what the trash
hides, gives back, lets expire and erases.

* Hold the startup sweep as never fatal
…1737)

What each criterion keeps, facets of the space, and the read path end to end.
* Rewrite the tests of the notes' service functions

The lock, the input checked before it, the codes failures answer, the normalisation each
applies and what a write leaves in the index.

* Take the restored id by reference

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Drop the field spans service nothing calls

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
A last line without its newline was read as another line.
* Rewrite the tests of spaces around their rules

Names readable and unique case aside, the order pinned then by name, what a deletion
moves, trashes and takes, and the services' lock, input checks and codes.

* Keep what the old spaces tests held: pin through a rename, attachments through the trash

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Rewrite the tests of the folders' board and its geometry around their rules

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Trash enough notes for their room to show

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Rewrite the tests of the folders' service functions

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Fill the index before each write whose declaration is checked

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Move a folder under another through the service

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Rewrite the tests of attachments around their rules

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Fill the index before the writes whose declaration is checked

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Rewrite the tests of the export format: bundle, archive and protection

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* An export that cannot replace its target leaves no staging file

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Rewrite the tests of what an export takes and an import merges, and of the transfer services

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* A folder of the same name under another parent is not matched

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Rewrite the tests of the libraries' registry and services

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* A registry the system refuses to read, and a profile with no room for a library folder

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
)

* Rewrite the tests of the launch copies, putting one back and the backup services

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* A folder in the attachments, a library without one, and putting back what a failed restore moved

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
vmillet-dev and others added 27 commits December 3, 2026 09:39
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Interface: unit tests rewritten for the state and the services

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Interface: no duration in the backend's tests

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…#1808)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…1812)

* JSON explorer: Escape empties the search, the count follows the text

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* JSON explorer: an import of its test

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* HTTP: rows of a long answer fill the pane, as in the JSON tree

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* HTTP: the rows of its test

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…1818)

* JSON explorer: the arrows stay in the graph and the tree

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Keyboard: the arrows keep moving a split edge

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Keyboard: the arrows of a card held at every frame

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Notes: a drag selects from where it was pressed

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Notes: the press of a drag

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Notes: a drag selects from where it was pressed

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Notes: the press of a drag

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Interface: unit tests rewritten for the notes area

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* HTTP: an inherited auth set to None says so

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Interface: unit tests rewritten for the HTTP area

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@vmillet-dev
vmillet-dev merged commit 2188ea8 into main Dec 4, 2026
50 checks passed
@vmillet-dev
vmillet-dev deleted the dev/1.3.1 branch December 4, 2026 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unit tests: every module's tests rewritten on its purpose and branches

1 participant